package com.itwill.ecom.ordersDetail;

import java.util.List;

import com.itwill.ecom.product.ProductBeans;

public interface OrdersDetailDao {

	//상세보기 추가
	public abstract int create(OrdersDetailBeans detailBeans) throws Exception;

	//전체 상세보기 검색
	public abstract List<OrdersDetailBeans> getAll() throws Exception;

	//상세보기 검색
	public abstract OrdersDetailBeans getNo(int no) throws Exception;

	//주문 상세보기 리스트 검색
	public abstract List<OrdersDetailBeans> getDetail(int ordersno) throws Exception;

	//상세보기 삭제
	public abstract int delete(int detail_no) throws Exception;

	// 주문번호로 삭제
	public abstract int deleteDetails(int o_no) throws Exception;
}